package com.cdks.wuxiu.api.model.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

import com.cdks.wuxiu.entity.mysql.UserBaseInfo;


@ApiModel(description = "公共参数")
@Data
public class CommonParam {
    @NotNull
    @ApiModelProperty(value = "unix时间戳", required = true, position = -10)
    private Long nonce;

    // 设备唯一标识
    private String udid;

    // 渠道号
    private Integer branch;

    // 自增版本号
    private Integer serial; 
    
    // 用户信息
    private UserBaseInfo userInfo;
}
